package edu.whut.mall.portal.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ShippingParams {

    /**
    * 
    */
    private Long id;

    /**
    * 用户id
    */
    @NotNull
    private Long userId;

    /**
    * 收货人姓名
    */
    @NotBlank
    private String receiveName;

    /**
    * 收货人手机
    */
    @NotBlank
    private String receivePhone;

    /**
    * 城市
    */
    private String receiveCity;

    /**
    * 省份
    */
    private String receiveProvince;
    /**
     * 区
     */
    private String receiveZone;

    /**
    * 详细地址
    */
    @NotBlank
    private String receiveAddress;


    /**
     * 是否为默认地址
     */
    private Integer isMain;






}